Don't crash on NULL parent
authorAlexander Larsson <alexl@redhat.com>
Mon, 17 Aug 2009 14:59:47 +0000 (16:59 +0200)
committerAlexander Larsson <alexl@redhat.com>
Mon, 17 Aug 2009 14:59:47 +0000 (16:59 +0200)
commitf7185ec704f0681b3a9ce910a0f35d93549f01e3
treea40e7e6c02c8b046834d90048c828b05e5ca89e5
parent155140160c09eb909208cb48fcd90ad1217b4631
Don't crash on NULL parent

The parent window can be NULL, check for that before dereferencing.
gdk/gdkwindow.c